﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="top.aspx.cs" Inherits="top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="Style/crmStyle.css" rel="stylesheet" type="text/css" />
    <link href="Style/main.css" rel="stylesheet" type="text/css" />
    	<script type="text/javascript">
		    function doExit() {
		        if (confirm('确认退出吗？')) {
		            window.parent.location = "Exit.aspx";
		        }
		    }
		</script>
				<script type="text/javascript">
		   function doExit() {
		        if (confirm('确认退出吗？')) {
		            window.parent.location = "Exit.aspx";
		        }
		    }
		    var preClassName = "man_nav_1";
		    function list_sub_nav(Id, sortname) {
		        if (preClassName != "") {
		            getObject(preClassName).className = "bg_image";
		        }
		        if (getObject(Id).className == "bg_image") {
		            getObject(Id).className = "bg_image_onclick";
		            preClassName = Id;
		            getObject('show_text').innerHTML = sortname;
		            window.top.frames['leftFrame'].outlookbar.getbytitle(sortname);
		            window.top.frames['leftFrame'].outlookbar.getdefaultnav(sortname);
		        }
		    }

		    //获取对象属性兼容方法
		    function getObject(objectId) {
		        if (document.getElementById && document.getElementById(objectId)) {
		            // W3C DOM
		            return document.getElementById(objectId);
		        } else if (document.all && document.all(objectId)) {
		            // MSIE 4 DOM
		            return document.all(objectId);
		        } else if (document.layers && document.layers[objectId]) {
		            // NN 4 DOM.. note: this won't find nested layers
		            return document.layers[objectId];
		        } else {
		            return false;
		        }
		    }
		    		window.onload=function(){
//			var OTimeSpan = document.getElementById("timeSpan");
//			OTimeSpan.innerHTML = getNow();
		}
		function getTime(){
			var OTimeSpan = document.getElementById("timeSpan");
			OTimeSpan.innerHTML = getNow();
		}
		function getNow(){
		   var d,s="";
		   d=new Date();
		   s+=d.getYear()+"-"+(d.getMonth()+1)+"-"+d.getDate()+" "+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds();
		   return s;
		}
		//setInterval(getTime,1000);
		</script>

    <style type="text/css">
        .style1
        {
            width: 20px;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="x_index_lefta"  valign="bottom">&nbsp;</td>
    <td class="x_index_middlea" valign="top">
        <table border="0" cellpadding="0" cellspacing="0" style="height:52px" 
            width="100%">
            <tr>
                <td align="center" valign="top" width="300">
                                                &nbsp;</td>
                <td align="left" class="style2">
                </td>
                <td align="right" class="style2" valign="top">
                   <table  style="WIDTH:28%; HEIGHT: 25px" border="0" cellspacing="0" 
                        cellpadding="0">
  <tr>
    <td><div align="center">
            <a class="navtop" href="DsoFramer/ReadHelpFile.aspx" 
                         
                        style="cursor:hand;"  target="_blank">帮助</a></div></td>
    <td><div align="center">
             <a href="Main/MyDesk.aspx" class="navtop" style="cursor:hand;" target="manFrame">管理</a></div></td>
    <td><div align="center">
         <a class="navtop" href="Main/LoginOut.aspx" 
                        target="manFrame"
                        style="cursor:hand;">注销</a></div></td>
    <td><div align="center">
          <a class="navtop" href="#" onclick="doExit();">退出</a></div></td>
  </tr>
</table> 
<%--<table style="WIDTH:50%; HEIGHT: 25px" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>--%>
<span class="z3" style="WIDTH: 244px; LINE-HEIGHT: 20px">
                    <img align="absMiddle" src="images/icon_subnav.gif" /> 欢迎您！<asp:Label ID="LabUserName" runat="server" Font-Bold="True"></asp:Label>【<asp:Label ID="Labdeprm" runat="server" Font-Bold="True"></asp:Label>】
                    <img align="absMiddle" src="Images/200919154236630.gif" /> &nbsp;<script language=javascript>
<!--
//定义用于存放当前日期的变量
var thedate;
//定义用于存放当前小时数的变量
var thehour;
//取得当前日期时间
thedate=new Date();
//下面语句用于取得当前小时数（0-23）
thehour=thedate.getHours();
//接下来的判断语句用于决定显示何种问候语句
if(thehour==0)
{
//向页面上写入相应的问候语句
document.write("凌晨了，还不睡？冲杯咖啡提提神！");
}
if(thehour==1)
{
//向页面上写入相应的问候语句
document.write("凌晨一点已过，别忘了休息喔！");
}
if(thehour==2)
{
//向页面上写入相应的问候语句
document.write("该休息了，身体可是革命的本钱啊！");
}
if(thehour==3)
{
//向页面上写入相应的问候语句
document.write("夜深人静，只有您敲击鼠标的声音..");
}
if(thehour==4)
{
//向页面上写入相应的问候语句
document.write("四点过了，您准备通宵吗？？？");
}
if(thehour==5)
{
//向页面上写入相应的问候语句
document.write("该去晨运了！有利于身体健康！");
}

if(thehour==6)
{
//向页面上写入相应的问候语句
document.write("全新的一天开始啦！努力，加油！");
}
if(thehour==7)
{
//向页面上写入相应的问候语句
document.write("早上好！早餐=健康，不要忘记吃哟!");
}
if((thehour==8) || (thehour==9)|| (thehour==10))
{
//向页面上写入相应的问候语句
document.write("上午好！生活真美好。");
}
if(thehour==11)
{
document.write("肚子饿了吗？该准备吃午饭了。");
}

if(thehour==12)
{
document.write("中午好！午休半小时，下午精神好。");
}

if((thehour==13) || (thehour==14)){
//向页面上写入相应的问候语句
document.write("朋友,中午还是休息一下吧!");
}
if((thehour==15) || (thehour==16)|| (thehour==17))
{
//向页面上写入相应的问候语句
document.write("下午好!时间宝贵,继续加油!");
}
if((thehour==18))
{
//向页面上写入相应的问候语句
document.write("该吃晚饭啦，饭后百步走，活到九十九。");
}
if((thehour==19) || (thehour==20))
{
//向页面上写入相应的问候语句
document.write("晚上好！上网时间久了，也记得活动下哦。");
}
if((thehour==21) || (thehour==22)){
//向页面上写入相应的问候语句
document.write("夜深了，该休息了，事情做不完的，明天继续。");
}
if(thehour==23)
{
//向页面上写入相应的问候语句
document.write("真是越玩越精神，不打算睡了？");
}

// -->
</script></span><%--</td>
  </tr>
</table>--%>
                </td>
            </tr>
        </table>
            </td>
    <td class="x_index_righta"   valign="top"></td>
  </tr>
  <tr>
    <td class="x_index_leftb" ></td>
    <td class="x_index_middleb" valign="top" align="left">
		<div id="nav">
		<asp:Literal ID="literalNav" runat="server"></asp:Literal>
		</div>
            </td>
    <td class="x_index_rightb"  valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td  colspan="3" >
				<div id="sub_info">

		<div id="sub_infotext_left">
         <table> <tr>
 <td align="right" style="width: 20px">
                           <img src="Images/on_status1.gif" align="top" /></td>
             <td align="right" >当前位置： <span id="show_text">我的工作台</span>   </td>
                      </tr></table>
						
		</div>
				<table style="width:563px; height: 21px;" align="right">
                  <tr>
                      <td align="right" class="style1">
                          &nbsp;</td>
                      <td align="right" style="color: #135294;" class="style2">
                           <a class=""href="Main/MyDesk.aspx" style="cursor:hand;" target="manFrame"> <img align="absMiddle" alt="桌面设置" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" height="16" 
                                    src="images/homepage.gif" width="19" /> 我的工作台</a> |</td>
                       <td align="center" width="9%"style=" valign="middle">
                               <a class=""href="Main/MyDeskSetting.aspx" style="cursor:hand;" target="manFrame"> <img align="absMiddle" alt="桌面设置" style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" height="16" 
                                    src="images/72.png" width="16" /> 桌面设置</a> |</td>
                       <td align="center" width="9%" > <a class=""href="Personal/SystemTiXing.aspx" style="cursor:hand;"target="manFrame" > 
                                          <img align="absMiddle" alt="更改界面主题风格" 
                               style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" 
                               border="0" height="16" 
                                    src="images/top_25.gif" width="16" />&nbsp;提醒设置</a> |</td>
                    <td align="center" width="9%" > <a class=""href="Main/OnlineUser.aspx" style="cursor:hand;"target="manFrame" > 
                                          <img align="absMiddle" alt="" 
                               style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" 
                               border="0" height="16" 
                                    src="images/online_moderator.gif" width="16" />&nbsp;组织</a> |</td>   <td align="center" width="7%" >
                                                                           <a href="#" 
                                    onclick="javascript:window.parent.frames['manFrame'].location.reload();" class=""><img align="absMiddle" 
                                                                               src="Images/reload.gif"  
                                                                               style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" 
                                                                               height="16"/> 
                                                                           刷 新</a> |</td>
                                        <td align="center" width="7%" >
                                           <a href="javascript:;history.go(1)" class=""><img align="absMiddle" src="Images/2009116185029580.png"  style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px"/>
                                            前 进</a> | </td>
                                        <td align="center"width="7%" >
                                         <a href="javascript:;history.go(-1)" class=""><img align="absMiddle" src="Images/2009116185030797.png"style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" />
                                            后 退</a>
                            </td>         

                  </tr>
              </table>
	</div> 
	    
      </td>
  </tr>
</table></body>  
</form>
 
	    
</html>